#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[]) {
  int n1 = 10;
  int n2 = 0b10;
  int n3 = 017;
  int n4 = 0x1a;
  printf("%d\n", n1);
  printf("%d\n", n2);
  printf("%d\n", n3);
  printf("%d\n", n4);

  int x = 100;
  printf("dec=%d\n", x);
  printf("oct=%o\n", x);
  printf("hex=%x\n", x);
  printf("oct=%#o\n", x);
  printf("hex=%#x\n", x);
  printf("hex=%#X\n", x);
  return EXIT_SUCCESS;
}
